#!/usr/bin/env python
import time
import sys
import pygame



def main():
	#corevar
	yres = 480
	xres = 640
	cm = "CM"
	screen = pygame.display.set_mode((xres,yres))
	running = 1
	#gamevar
	blue = 0,0,255
	point1 = [280,480]
	point2 = [200,100]
	stagger = 0
	pstart = time.time()
	print pstart

	while running:

	
		event = pygame.event.poll()
		if event.type == pygame.QUIT:
			running = 0
			print "Ending Program"
			
		#bgcolor
		#screen.fill((0,0,0))
		#
		#draw
		pygame.draw.line(screen,blue,point1,point2)
		if stagger == 1:
			point1[1] += 15
			pygame.draw.line(screen,blue,point1,point2)
					
		#	
		#bufferflip
		pygame.display.flip()
		#
	
	return 0

if __name__ == '__main__': main()
